package com.peas.platform.module.icims.expenditure.basal.dto;

import java.util.*;

import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.dto.BaseDto;
import com.peas.platform.framework.mybatisplus.annotation.Condition;
import com.peas.platform.framework.mybatisplus.annotation.ConditionOperator;
import lombok.Data;
import lombok.EqualsAndHashCode;

// 项目类型
@Data
@EqualsAndHashCode(callSuper = false)
public class ExpenditurePtypeDto extends BaseDto {

    // 项目类型编码
    // 自动生成
    @Comment(value = "项目类型编码")
    @Condition(operator = ConditionOperator.IN)
    private String code;

    // 项目类型名称
    @Comment(value = "项目类型名称")
    private String name;

    // 上级节点ID
    // 外键
    @Comment(value = "上级节点ID")
    private Long parentId;

    // 状态
    // 枚举取值:CommonEnableDisable
    @Comment(value = "状态", enumType = "CommonEnableDisable")
    @Condition(operator = ConditionOperator.IN)
    private String state;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
}
